<!DOCTYPE html>
<!--[if IE 8]>			<html class="ie ie8"> <![endif]-->
<!--[if IE 9]>			<html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!-->	<html> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <title>搜索 {$site_name} </title>
    <meta name="keywords" content="{$site_seo_keywords}" />
    <meta name="description" content="{$site_seo_description}">
    <include file="Public:head" />
</head>

<body class="blog blog-small">
<div class="wrap">
    <include file="Public:nav" />
    <div id="main-cmf">
        <div class="breadcrumb-wrapper">
            <div class="container">
				 <div class="row">
                    <php>
                        $result=get_news(null,1,5,"keyword",$keyword);
                    </php>
                    <div class="col-lg-12 col-md-12 col-xs-12 col-sm-12">
                        <h2 class="title">'{$keyword}' 搜索结果 </h2>
                        <h5>{$result['count']}条结果</h5>
                    </div>
                </div>
            </div>
        </div>
        <div class="content">
            <div class="container">
                <div class="row">
                    <div class="posts-block col-lg-9 col-md-9 col-sm-8 col-xs-12">
                        <volist name="result['news']" id="vo">
                            <article class="post hentry">
                                <if condition="$vo['news_img']">
                                    <div class="post-image">
                                        <a href="{$vo['news_img']}" data-rel="prettyPhoto">
                                            <span class="img-hover"></span>
                                            <span class="fullscreen"><i class="fa fa-search"></i></span>
                                            <img src="{$vo['news_img']}" alt="">
                                        </a>
                                    </div>
                                    <else />
                                    <div class="post-image">
                                        <img src="{$Think.const.THEME_PATH}Public/images/default_tupian<php>echo rand(1,8);</php>.jpg" class="img-responsive" alt="{$vo.post_title}"/>
                                    </div>
                                </if>
                                <div class="post-content-wrap">
                                    <header class="post-header">
                                        <div class="post-date">
                                            <a class="date" href="#"><strong>{$vo.news_time|date="d",###}</strong><i>{$vo.news_time|date="M",###}</i></a>
                                        </div>
                                        <h3 class="content-title"><a href="{:U('News/index',array('id'=>$vo['n_id']))}">{$vo.news_title}</a></h3>
                                        <div class="blog-entry-meta">
                                            <div class="blog-entry-meta-author">
                                                <i class="fa fa-user"></i>
                                                <a href="{:U('user/index/index',array('id'=>$vo['post_author']))}" class="blog-entry-meta-author">{$vo.admin_realname|default=$vo.admin_username}</a>
                                            </div>
                                            <div class="blog-entry-meta-comments">
                                                <i class="fa fa-comment"></i>{$vo.comment_count}
                                            </div>
                                            <div class="blog-entry-meta-comments">
                                                <i class="fa fa-eye"></i>
                                                <a href="javascript:;"></a>{$vo.news_hits}
                                            </div>
                                            <div class="blog-entry-meta-comments">
                                                <a href="{:U('article/do_like',array('id'=>$vo['object_id']))}" class="js-count-btn"><i class="fa fa-thumbs-up"></i></a>{$vo.post_like}
                                            </div>
                                        </div>
                                    </header>
                                    <div class="post-content">
                                        <p>{$vo.news_content|html_trim=100}</p>
										<a href="{:U('News/index',array('id'=>$vo['n_id']))}">查看 <i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></a>
                                    </div>
                                </div>
                                <div class="clearfix"></div>
                            </article>
                            <div class="blog-divider"></div>
                        </volist>
                        <div class="pagination-centered">
                            <ul class="pagination">{$lists['page']}</ul>
                        </div>
                    </div>
                    <include file="Public:rightslider"/>
                </div>
            </div>
        </div>
    </div>
    <include file="Public:footer"/>
</div>
<include file="Public:scripts"/>
</body>
</html>